<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>02</title>
  <style>
    * {
      margin: 0;
      padding: 0;
    }
    .container {
      margin: 20px;
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      grid-template-rows: 30px;
      grid-auto-rows: 30px;
      /* align-items: center; */
      gap: 20px 0;
    }

    .item {
      display: grid;
      grid-template-columns: 100px auto;
      align-items: center;
    }

    .label {
      justify-self: end;
    }
    .value {
      padding: 10px;
    }

    input {
      width: 100%;
    }
    .first {
      grid-row: 1/3;
      grid-column: 1/3;
      background-color: #ccc;
      /* height: 300px; */
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="item first">
      哈哈哈哈哈哈
    </div>
    <div class="item">
      <div class="label">姓名：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">年龄：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">生日：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">学号：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">学校：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">班级：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">籍贯：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">学历：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item" style="grid-column-end: span 2;">
      <div class="label">爱好：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">父亲：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">母亲：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item" style="grid-column-end: span 2;">
      <div class="label">专业：</div>
      <div class="value"><input type="text" /></div>
    </div>
    <div class="item">
      <div class="label">银行卡：</div>
      <div class="value"><input type="text" /></div>
    </div>
  </div>
</body>
</html>